package com.koron.css2.systemManage.servlet;

import com.koron.css2.ApplicationConfig;
import com.koron.css2.ServerInterface;
import com.koron.css2.serviceManage.bean.RequestBean;
import com.koron.css2.serviceManage.bean.UserInfoBean;
import com.koron.util.Constant;
import org.koron.ebs.mybatis.SessionFactory;
import org.swan.bean.MessageBean;

/**
 * 权限平台版本
 * 1.0 银川版本
 * 2.0 粤海版本
 * @author 59532
 *
 */
public class AuthorityPlatformVersion implements ServerInterface {

	@Override
	public MessageBean<?> exec(SessionFactory factory, UserInfoBean userInfo, RequestBean req) {
		MessageBean<String> msg = MessageBean.create(Constant.MESSAGE_INT_SUCCESS, "添加成功", String.class);
		msg.setData(ApplicationConfig.getAuthorityPlatform());
		return msg;
	}

}
